|
|
This object renders fine with a regular camera, but when I switched to
orthographic, it has no shading whatsoever, moving the orthographic camera
very slighly off-center fixes the problem.
Jeff M
using version 3.5 beta, VC++ exe
Apologies if this is a known issue
---------------------------------------------------------------------------
// ROTARY SWITCH
#include "colors.inc"
camera {
orthographic
// location <0, 0.0001, -2> // OK
location <0, 0.000, -2> // RENDERS 'BLACK' !!
look_at <0, 0, 0>
}
light_source { <-15, 15, -4> color White }
prism {
conic_sweep
cubic_spline
1, // sweep the following shape from here ...
0.6, // ... up through here
27, // the number of points making up the shape ...
< 0.965926, 0.258819 >,
< 0.900000, 0.000000 >,
< 0.965926, -0.258819 >,
< 0.866025, -0.500000 >,
< 0.636396, -0.636396 >,
< 0.500000, -0.866025 >,
< 0.258819, -0.965926 >,
< -0.000000, -0.900000 >,
< -0.258819, -0.965926 >,
< -0.500000, -0.866025 >,
< -0.636396, -0.636396 >,
< -0.866025, -0.500000 >,
< -0.965926, -0.258819 >,
< -0.900000, 0.000000 >,
< -0.965926, 0.258819 >,
< -0.866025, 0.500000 >,
< -0.636396, 0.636396 >,
< -0.500000, 0.866025 >,
< -0.258819, 0.965926 >,
< 0.000000, 0.900000 >,
< 0.258819, 0.965926 >,
< 0.500000, 0.866025 >,
< 0.636396, 0.636396 >,
< 0.866025, 0.500000 >,
< 0.965926, 0.258819 >,
< 0.900000, -0.000000 >,
< 0.965926, -0.258819 >
rotate <90,0,0>
pigment { Grey }
}
Post a reply to this message
|
|